import { A, RouteDefinition } from "@solidjs/router";

const Welcome = () => {
  return (
    <>
      <h1>Welcome!</h1>
      <ul>
        <li>
          <A href="/package">Package</A>
        </li>
        <li>
          <A href="/package/installed">Installed Package</A>
        </li>
        <li>
          <A href="/package-source">Package Source</A>
        </li>
      </ul>
    </>
  );
};

export const WelcomeRoute: RouteDefinition = {
  path: "/",
  component: Welcome,
};

export default Welcome;
